<template>
  <van-config-provider :theme="darkModel ? 'dark' : 'light'">
    <router-view></router-view>
  </van-config-provider>
</template>

<script setup lang="ts">
import { computed, ref } from "vue"
import settingStore from "./page/user/setting/setting.store"

const settingSe = settingStore()
const darkModel = computed(() => {
  return settingSe.getDarkModel
})

let includeList = ref<any>(['home'])
</script>

<style lang="less" scoped>
.van-config-provider {
  width: 100%;
}
</style>
